<?php

class Conexao{
	 
	private static $instance;
	
	private function __construct(){
		
	}
	
	public static function getConexao(){
		if(!isset(self::$instance)){
			self::$instance = new PDO('mysql:host=localhost;dbname=sindisse_sistema','sindisse_sistema','12345!@#$%');
			self::$instance->setAttribute(PDO::ATTR_ERRMODE,PDO::ERR_NONE);			
			
		}
		return self::$instance;
	}
	
}


?>